package com.example.vaadin_learning_1;

import java.io.Serializable;

import com.vaadin.Application;
import com.vaadin.ui.*;
import org.vaadin.openid.*;


public class Vaadin_learning_1Application extends Application implements Serializable {
	 /**
	 For serialization of the class 
	 */
	private static final long serialVersionUID = 1L;

	

	public void init() {
		setTheme("runo");
		buildMainLayout();
	}
	
	private void buildMainLayout() {

		MenuContainer menuCont =  MenuContainer.createData();

		Window mainWindow = new Window("Vaadin_learning_1 Application");
		CommonView commonView = new CommonView();
		mainWindow.setContent(commonView);
		setMainWindow(mainWindow);
		
		

		//OPen Id testing
//		  OpenidTestApplication testAppOpenId = new OpenidTestApplication();
//		  testAppOpenId.init();
		
		
		 
		
		//mainWindow.addComponent(composite);

		

	}

}
